package xyz.liuyuhe.StudySpring.ch8.aopconfig;

import org.aspectj.lang.JoinPoint;
import org.springframework.stereotype.Component;

@Component
public class PreDo{

    public void toPre(JoinPoint point) throws Throwable {
        System.out.println("参数："+point.getArgs()[0]);
        System.out.println("洗手");
    }
    
}
